﻿using SqlSugar;

namespace DevProtocolApi.Dtos.system
{
    public class MenuDto
    {
        /// <summary>
        /// 菜单唯一标识符（UUID格式）
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 菜单路径
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 组件路径
        /// </summary>
        public string? Component { get; set; }

        /// <summary>
        /// 重定向路径
        /// </summary>
        public string? Redirect { get; set; }

        /// <summary>
        /// 图标名称
        /// </summary>
        public string? Icon { get; set; }

        /// <summary>
        /// 菜单标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 默认激活的子菜单项
        /// </summary>
        public string? ActiveMenu { get; set; }

        /// <summary>
        /// 外链地址（非空时启用）
        /// </summary>
        public string? IsLink { get; set; } 

        /// <summary>
        /// 是否隐藏菜单（0=否，1=是）
        /// </summary>
        public bool IsHide { get; set; }

        /// <summary>
        /// 是否全屏模式（0=否，1=是）
        /// </summary>
        public bool IsFull { get; set; }

        /// <summary>
        /// 是否固定在标签栏（0=否，1=是）
        /// </summary>
        public bool IsAffix { get; set; }
        /// <summary>
        /// 状态标识：Y=激活，N=失效
        /// 默认值设为激活状态（'Y'）
        /// </summary>
   
        public string IsActive { get; set; }
        /// <summary>
        /// 是否缓存组件状态（0=否，1=是）
        /// </summary>
        public bool IsKeepAlive { get; set; }

        /// <summary>
        /// 父级菜单ID
        /// </summary>
        public int? ParentId { get; set; }

        /// <summary>
        /// 排序优先级
        /// </summary>
        public int? SortOrder { get; set; }

        /// <summary>
        /// 菜单备注信息
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 菜单类型标识[M=目录,C=菜单,B=按钮]
        ///</summary>

        public string menuType { get; set; }
    }

}
